$.ajaxSetup({
    timeout: 5000
});

// initial configuration
var page = new Page();
if (!$.support.transition) $.fn.transition = $.fn.animate;

$(document).ready(function () {
    page.init();
});


/* All functions related to page*/
function Page() {
    var self = this;
    var cachedPageType;


    
    this.init = function () {
     	
        $('#top .parent').hover(function () {
            $(this).addClass('active');
        }, function () {
            $(this).removeClass('active');
        });

        $('section.category .followbox').hover(
            function () {
                $(this).addClass('hovering');
            },
            function () {
                $(this).removeClass('hovering');
            }
        );

        return self;
    };
}
	
